﻿<UserControl x:Class="TaskbarConcepts.ProgressBar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid Width="300">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Rectangle Style="{DynamicResource BorderStyle}" Grid.RowSpan="4" />
    <TextBlock Text="Taskbar Progress" Margin="{DynamicResource BoxedContentMargin}" Style="{DynamicResource SectionTitle}" />
    <DockPanel Grid.Row="1" Margin="{DynamicResource BoxedContentMargin}">
      <TextBlock Text="Status" DockPanel.Dock="Left"></TextBlock>
      <ComboBox x:Name="ProgressStateSelection" Margin="5,0,0,0" HorizontalAlignment="Stretch"
                SelectionChanged="ProgressStateSelection_SelectionChanged"/>
    </DockPanel>
    <Slider x:Name="progressSlider" MaxWidth="300" Height="40" Minimum="0" Maximum="100" Grid.Row="2"
            ValueChanged="progressSlider_ValueChanged" Margin="{DynamicResource BoxedContentMargin}"/>
    <CheckBox x:Name="ShowProgressBar" Click="ShowProgressBar_Click" Grid.Row="3"
              Margin="{DynamicResource BoxedContentMargin}">
      <TextBlock Text="Show slider's value in progress bar"  />
    </CheckBox>

  </Grid>
</UserControl>
